package com.bh.mapper;

import com.bh.pojo.entry.Menu;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

@Repository
public interface MenuMapper {

    List<Menu> findAll(@Param("likename")String likename);

    List<Menu> findById(Integer id);
}
